package com.project.bean;

import java.time.LocalDate;

/*设施对象
*
* */
public class RecordBean {
    private Integer id;//设施ID
    private String descRide;//设施描述
    private LocalDate date = LocalDate.now();//当天时间
    private String status="未解决";//状态
//    设施属于房间
    private RoomBean roomBean;

    public RecordBean() {
    }

    public RecordBean(Integer id, String descRide, LocalDate date, String status, RoomBean roomBean) {
        this.id = id;
        this.descRide = descRide;
        this.date = date;
        this.status = status;
        this.roomBean = roomBean;
    }

    public RecordBean(String descRide, LocalDate date, String status, RoomBean roomBean) {
        this.descRide = descRide;
        this.date = date;
        this.status = status;
        this.roomBean = roomBean;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDescRide() {
        return descRide;
    }

    public void setDescRide(String descRide) {
        this.descRide = descRide;
    }

    public LocalDate getDate() {
        return date;
    }

    public void setDate(LocalDate date) {
        this.date = date;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public RoomBean getRoomBean() {
        return roomBean;
    }

    public void setRoomBean(RoomBean roomBean) {
        this.roomBean = roomBean;
    }

    @Override
    public String toString() {
        return "RecordBean{" +
                "id=" + id +
                ", descRide='" + descRide + '\'' +
                ", date=" + date +
                ", status='" + status + '\'' +
                ", roomBean=" + roomBean +
                '}';
    }
}
